#ifndef __TB6612_H
#define __TB6612_H
#include "stm32f10x.h"

typedef enum {
    TB6612_USE_A_PATH = 0,
    TB6612_USE_A_B_PATH = 1,
    TB6612_USE_BUTT
} Tb6612UseType;

void Motor_Init(Tb6612UseType useType);
void Motor_SetRightSpeed(int8_t speed);
void Motor_SetLeftSpeed(int8_t speed);

#endif
